import request from '@/utils/request'

// 查询关注科目列表
export function listPcwDetailsFocus(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/list',
    method: 'get',
    params: query
  })
}
// 查询关注科目列表
export function defaultList(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/defaultList',
    method: 'get',
    params: query
  })
}
// 查询关注科目列表
export function findSelFocus(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/findSelFocus',
    method: 'get',
    params: query
  })
}
// 查询关注科目列表
export function initListPcwDetailsFocus(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/initList',
    method: 'get',
    params: query
  })
}

// 查询关注科目列表
export function financialAnalysis(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/financialAnalysis',
    method: 'get',
    params: query
  })
}

// 查询关注科目详细
export function getPcwDetailsFocus(id) {
  return request({
    url: '/pcw/pcwDetailsFocus/' + id,
    method: 'get'
  })
}

// 保存关注科目
export function savePcwDetailsFocus(data) {
  return request({
    url: '/pcw/pcwDetailsFocus/save',
    method: 'post',
    data: data
  })
}

// 删除关注科目
export function delPcwDetailsFocus(id) {
  return request({
    url: '/pcw/pcwDetailsFocus/' + id,
    method: 'delete'
  })
}

// 导出关注科目
export function exportPcwDetailsFocus(query) {
  return request({
    url: '/pcw/pcwDetailsFocus/export',
    method: 'get',
    params: query
  })
}
